using System;
using System.Collections.Generic;

namespace ConsoleApplication11.Models
{
    public partial class View_PatientSeach
    {
        public string patient_id { get; set; }
        public string new_id { get; set; }
        public string name { get; set; }
        public int gender { get; set; }
        public string id_card { get; set; }
        public Nullable<System.DateTime> birth_date { get; set; }
        public string address { get; set; }
        public string postcode { get; set; }
        public string phone { get; set; }
        public string is_transferred { get; set; }
        public string transferred_from { get; set; }
        public Nullable<int> race_id { get; set; }
        public Nullable<int> marital_status_id { get; set; }
        public Nullable<int> education_id { get; set; }
        public string occupation { get; set; }
        public string cell_phone { get; set; }
        public string email { get; set; }
        public string assigned_medical_unit { get; set; }
        public Nullable<int> medical_expenses_payer_id { get; set; }
        public Nullable<int> join_group_type { get; set; }
        public string know_ht_before { get; set; }
        public int patient_group { get; set; }
        public string is_check_agree { get; set; }
        public string create_by { get; set; }
        public Nullable<System.DateTime> create_time { get; set; }
        public int status { get; set; }
        public Nullable<int> ht_type_id { get; set; }
        public Nullable<decimal> diagnosed_sbp { get; set; }
        public Nullable<decimal> diagnosed_dbp { get; set; }
        public string diagnosed_hospital { get; set; }
        public Nullable<System.DateTime> diagnosed_date { get; set; }
        public string family_history_hypertension { get; set; }
        public string family_history_hypertension_date { get; set; }
        public string family_history_hypertension_age { get; set; }
        public string family_history_chf { get; set; }
        public string family_history_chf_date { get; set; }
        public string family_history_stroke { get; set; }
        public string family_history_diabetes { get; set; }
        public string family_history_none_of_above { get; set; }
        public string family_history_unknown { get; set; }
        public string family_history_not_answer { get; set; }
        public string family_history_other { get; set; }
        public string family_history_other_detail { get; set; }
        public string allergy_history { get; set; }
        public string allergy_detail { get; set; }
        public string complication_stroke_clot { get; set; }
        public string complication_stroke_bleed { get; set; }
        public string complication_stroke_tia { get; set; }
        public string complication_heart_attack { get; set; }
        public string complication_angina_pectoris { get; set; }
        public string complication_heart_failure { get; set; }
        public string complication_ht_related_kidney_disease { get; set; }
        public string complication_kidney_failure { get; set; }
        public string complication_dissecting_aneurysm { get; set; }
        public string complication_disease_symptomatic { get; set; }
        public string complication_hemorrhage { get; set; }
        public string complication_papilledem { get; set; }
        public string complication_other { get; set; }
        public string complication_other_detail { get; set; }
        public string update_by { get; set; }
        public Nullable<System.DateTime> update_time { get; set; }
        public Nullable<int> bp_class_id { get; set; }
        public Nullable<int> bp_level_id { get; set; }
        public Nullable<int> bp_group_id { get; set; }
        public string main_diagose_hospital { get; set; }
        public Nullable<int> times_goto_community_hospital { get; set; }
        public Nullable<int> times_goto_hospital { get; set; }
        public string reason_not_goto_ch_medical { get; set; }
        public string reason_not_goto_ch_finance { get; set; }
        public string reason_not_goto_ch_hospital { get; set; }
        public string reason_not_goto_ch_other { get; set; }
        public string reason_not_goto_ch_other_desc { get; set; }
        public string disease_chf { get; set; }
        public string disease_stoke { get; set; }
        public string disease_diabetes { get; set; }
        public string disease_diabetes_date { get; set; }
        public string family_history_diabetes_level { get; set; }
        public string disease_none_of_above { get; set; }
        public string disease_unknown { get; set; }
        public string disease_not_answer { get; set; }
        public string disease_other { get; set; }
        public string disease_other_detail { get; set; }
        public string doctor_id { get; set; }
        public string duty_doctor { get; set; }
        public Nullable<int> node_id { get; set; }
        public string alternate_contact { get; set; }
        public string alternate_contact_desc { get; set; }
        public Nullable<int> card_type_id { get; set; }
        public Nullable<int> hospital_grade { get; set; }
        public string disease_cardiac_intervention { get; set; }
        public string disease_retinopathy { get; set; }
        public string disease_heart_failure { get; set; }
        public string disease_dissecting_aneurysm { get; set; }
        public string disease_tumour { get; set; }
        public string emergency_contact_number1 { get; set; }
        public string emergency_contact_number2 { get; set; }
        public string risk_factors_hypertension { get; set; }
        public string risk_factors_hypertension_date { get; set; }
        public string risk_factors_hypertension_level { get; set; }
        public string risk_factors_hyperlipidemia { get; set; }
        public string risk_factors_hyperlipidemia_date { get; set; }
        public string recordNumber { get; set; }
        public string disease_diabetes_level { get; set; }
        public string Province { get; set; }
        public string City { get; set; }
        public string Area { get; set; }
        public string IsEnable { get; set; }
        public string gender1 { get; set; }
        public string card_type_id1 { get; set; }
        public string education_id1 { get; set; }
        public string medical_expenses_payer_id1 { get; set; }
    }
}
